const state = {
  isOnline: true,
}

const getters = {
  isOnline: state => state.isOnline,
}

const actions = {}

const mutations = {
  isOnline: (state, payload) => (state.isOnline = payload),
}

export default {
  state,
  getters,
  actions,
  mutations,
}
